#pragma once

#include"stdio.h"
#include<list>
#include "Object.h"
#include "Rectangles.h"
#include "Circle.h"
#include "Plane.h"
#include "MyDefine.h"

using namespace std;

const static char* NAME_FILE_OBJECT = "SceneManager.txt";
static const int MAX_SIZE_TYPE = 20;

class SceneManager
{
private: 
	list<Object*> m_ObjectList; 
public:
	SceneManager(void);
	~SceneManager(void);
	void Update(float frameTime);
	void AddObject(Object* object);
	void Render();//draw object;
	void Init();//
	EObjectType GetTypeObject(char* m_type);
};